Refactor getting the first element into a separate function.
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2011 11:14:51 +0000 (14:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2011 11:14:51 +0000 (14:14 +0300)
commitef92b4cefd93b0c7766a494562194b07802e5e2f
tree2b762ef501072cf2a865a0083d85bbbadab47ef9
parent75488aa8767db58281d2fbc60facc63e32a1492b
Refactor getting the first element into a separate function.

 src/xdisp.c (get_visually_first_element): New function, refactored
 from common parts of next_element_from_buffer, next_element_from_string,
 and next_element_from_c_string.
src/ChangeLog
src/xdisp.c